FILE: D:\1\870869\html\ThinkPHP\Lib\Driver\Db\DbMysql.class.php LINE: 320
错误位置
TRACE
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (320) trace()
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY updateTime desc LIMIT 1' at line 1
[ SQL语句 ] : SELECT * FROM `y_case` WHERE on_status=1 and id= ORDER BY updateTime desc LIMIT 1 , , ERR)
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Lib\Core\Db.class.php (739) DbMysql->query()
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Lib\Core\Model.class.php (597) Db->select(SELECT * FROM `y_case` WHERE on_status=1 and id= ORDER BY updateTime desc LIMIT 1 )
[24-12-21 20:57:12] D:\1\870869\html\home\Lib\Action\CaseAction.class.php (36) Model->find(Array)
[24-12-21 20:57:12] () CaseAction->showDetail()
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Lib\Core\App.class.php (169) ReflectionMethod->invoke()
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Lib\Core\App.class.php (205) App::exec()
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\Common\runtime.php (243) Think::start()
[24-12-21 20:57:12] D:\1\870869\html\ThinkPHP\ThinkPHP.php (30) require(D:\1\870869\html\ThinkPHP\Common\runtime.php)
[24-12-21 20:57:12] D:\1\870869\html\index.php (14) require(D:\1\870869\html\ThinkPHP\ThinkPHP.php)